core: fix for invisible labels