fix(participant layout): fix unintended move

- fix unintended move during resize of a participant
- add test cases for the matter
- fix failing test case

Resolves CAM-492