Fixed a typo that was causing containment in the x direction to use the wrong offset.