Removed hidden layers from Color Inventory

Color Inventory seems to include hidden layers in the palette. To me this felt like a bug, as then I would spend time looking for the incorrect colors from screen. Therefore I made this quick hack to exclude hidden layers from the inventory.

If there's a better way to do this, I'd be happy to know. :)