Bug 963880 - Fix broken bookmark entry sheet when switching orientation