you should revert this change imho. When we have `preventPanning` we should always exit here.