Fix for setting pan position from Pan plugin window