Fix moving window to right half of screen