Prevent player from moving through monsters or allies.