Objects moving while changing viewport size?

Just encountered this wierd bug:



Whenever I change viewport size or layout a group of buttons, who are children to Canvas, change their position. While Camera’s Viewport W and H are still the same, it’s actual size changes too.

How this can be turned off?

Got rid of this issue by setting alignment to top-left. Thank you Inok