Fixed tile copying bug