fix FS#982 - Selection filter: selects entities on hidden layers