fix bug where layer controls for icons weren't displaying properly