Fixed bug showing FPS in dev mode