Release mouse when window loses focus