Position of elements are changing while increasing height of frame

Hi Guys,

I have quite a strange problem in Figma. When I try to increase the height of a frame, some elements are misplaced. As in, the position of a couple of elements are changing while increasing the height of the frame. See below for an example:

Anyone who can help me out with this?

Thanks so much!

Jordy