Fixing FPS display on linux