Prevent widgets from going out of bounds to the bottom