fixed for spike walls

Credit goes to DreTaX