The editor is out of frame on your screen shots, but have you tried the little Lock icon next to the dimensions? That locks the proportions of height and width. Height and Width are the dimensions of the outline box, which is different than X & Y as you’ve shown, because the shape can be rotated.