Fixed wall sticking bug.