fix FPSCounter