moved fps inside GLHandler