support for invisible layers