fixed bug with FPS display forcing redraw for every frame (debug mode only)