Fix inverted contianment for when the panzoom element is larger than its container. Supplements gh-11.