Made entities check collision with walls when spawning