Architect - when editing screen section, group box won't stick to the correct place

There are 5 group boxes in a screen section. The first and second can be moved correctly, but not the following ones. When I want to align a group box to the previous one it moves elsewhere. Not even editing the values manually in Properties helps.