fix panning fps and delta