Only call moveWindow once