Moving squares - wrong directions