snake now able to pass through walls

snake passes through walls and re-enters window from the opposite wall