Added framerate cap