Need to take zoom into account when panning