Fixing window:movetounit()