Fix to prevent windows from being dragged offscreen #60