Panning events weren't being referenced properly