Fix screen blinking