Unless the game is literally unplayable, that's how it's supposed to be.
Removing Jeff and Slender's ability to go through walls during the Boss Rush would make them too easy.