The hitboxes are bad. Like, it looks like I could pass right next to the ennemies, but I can't.
No, you cannot pass next to the enemies as their hitboxes touch. That is how hitboxes work. The game requires you to find alternative solutions such as killing your enemies or moving them elsewhere before moving through the area.