Fix magic "move over walls" bug