fixed the right click window problem.. (vanishing windows)