`mat4_to_size` doesn't give negative sizes even if the object has, this
creates a problem where scale constraint could allow flipped scaling
even it's outside the limit. This fix makes sure that object scaling
respect constraint limit no matter if it's negative or positive.