error in checking if mouse is in window when opening menu...