exclude legends from layers which are currently not visible (out of scale)