Fix floating menus appearing in wrong positions on scrollable maps