Fixed two bugs where items on either the settings layer of the color
grid layer were being selected even the though the layers were collapsed
and hidden.  Added check to see if the layers are not hidden before
executing the items action block