Fixed error icon shown on invisible layers