Added hooks to customize automatic FPS scaling