Hazardous input anomaly: Keyboard + mouse input received by wrong window

I have created a fix for this issue here