Buttons outside the screen should not be rendered