Fix issue on panel toggling in selected resources