Fixes dartgun window popping back up after you close it