fixed displaying frames per second (debug mode only)