fix screen glitch