Fix merge tile sliding off of canvas