Fix star mapping, aliasing, and pathing for built layers.

Fixes [17475](https://bugs.dojotoolkit.org/ticket/17475).