Added window:movetounit(); part of #300.