Fixed a toggle fps bug