fix window move