fixes #85 - fixed constrainTo bugs when paired with useCSSTranslation option