This might be intended behaviour, but I'm just not sure if I'm doing it right.
I found that if I have a sprite and set the behaviour "Bound to Layout" and I create the sprite at -500/-500 on startup, the box is correctly restrained to the layout. If I also try and set the position manually it is restrained correctly. However, if I set it to Mouse.X/Mouse.Y it's possible to click near the edge of the screen and have the object poke outside the layout.
Is there something different with the mouse behaviour I should be taking into account, or should this be working in all cases?