Legacy code for isPaneAttached