Modified panTilt callback