Fixes atoms with no flags being walkable

Fixes atoms that have no flags set allowing movement into them
regardless of CanPass().
Merge pull request #7263 from mwerezak/hydrotray

Fixes atoms with no flags set being walkable