Fixed the FPS counter