Changed the way the square constrain behaves