Maybe it has something todo with the one staff room being in the secure zone, never tried that, but looks to me like they try to find a path to it but cant really find one I would assume the zones are set up correctly
I don’t know if it’s a bug, and I don’t know if there’s some intention to it, but I’ve managed to solve this problem by (repeatedly) rezoning the secure area staff room as secure. Even if it is already marked as secure, I find that by dragging the secure zone over it again (and covering part of the adjacent secure area), it seems to temporarily solve the problem, and the wandering staff (for me, mainly passenger service agents and ramp agents) would start going inside and actually sitting down for a rest. But you’d have to repeat this every so often when you see them wandering again.
The hedges and windows issue is really annoying me as well. Walls, I get, because you do use them to prevent people from crossing into secure zones without being checked, and to some extent windows; but when I’m trying to say build ‘windows’ and use them as glass screens (e.g. to form a boarding gate area), it just bugs up the entire thing. Hedges are the worst–building a hedge around my coffee shop results in passengers not purchasing anything (but they are still able to walk through and sit inside the coffee shop!)
I’ve found one of these issues to be the cause of merging two secure zones and the room secure zone numbering not updating, so until we provide a fix a quick solve could be to rezone the area that covers the room.