fixed issue where elements would pop out of their containers