layertree popup fix