Fix framerate variable type