IPhone keyboard visible through dark screens?

I've had my phone cracked for a few months and now whenever IIm looking at something with a dark background, the keyboard screen is visible around the edges and it's normal in the center of the screen. IIm not sure how to fix it.

Fefewefefwfewefwefwfewefef