Float with scroll and elements go outside of its container?

Any idea how to make this not happen? This is a float element and I have it’s size preset so there is scrolling so it doesn’t expand past the viewers screen size. However, it results in this funny behavior where elements can be forced out of it on scroll. See screenshot.

Hey to achieve what you want, you would need to place a group inside your floating group, and set the max height over there (instead on the floating group)

Editor