Fixes see-hidden-files button in resource manager when refreshing