[Bug 297706] Panel is pushed outside of screen