Fix handling of gravity for _NET_MOVERESIZE_WINDOW.