Make window input grabbing optional