Moved the fps limit to the right place