Fixed FPS calculation