make recenter not divide by zero.