diff --git a/OpenRA.Mods.Common/Widgets/BackgroundWidget.cs b/OpenRA.Mods.Common/Widgets/BackgroundWidget.cs index 5d2614df67..3b785a00ff 100644 --- a/OpenRA.Mods.Common/Widgets/BackgroundWidget.cs +++ b/OpenRA.Mods.Common/Widgets/BackgroundWidget.cs @@ -27,10 +27,7 @@ namespace OpenRA.Mods.Common.Widgets public override bool HandleMouseInput(MouseInput mi) { - if (ClickThrough || !RenderBounds.Contains(mi.Location)) - return false; - - return true; + return !ClickThrough && EventBounds.Contains(mi.Location); } protected BackgroundWidget(BackgroundWidget other)