Ensure that the frame is square