adding a fix for the screen going blank when paused