It really looks like that would solve it. However when I try, it has no effect. I guess I will have to search through the StrategyGame example. It looks like they have used Slate in some way to prevent that the mouse leaves the window but am not quite sure yet.