#46: wait for window to receive focus before moving it