[BUG #4718] Prevent the desktop from growing if a window is moved beyond its edges