Fixes mechs click through windows and what not

I ded plz fix
Merge pull request #2100 from Razharas/MechShit

Fixes mechs click through windows and what not