Allow any entity to be sensible to its ground, not only the hero.

Also improve the detection of the ground when the map starts.
The hero now gets a correct ground as soon as the map opening
transition starts.