fix to limit FPS in idle mode