panning fix