Layer selector should not depend on load order