fix panel display rule to check for the 'packed in' panel too