Fix framerate on Release build