Fixed issue with accordion be created when hidden