Fix screen flash.