disable minimizing on focus loss