Fixed bug where attribute selector would not restore after minimizing