fix fps bug when set showFps off