make sure only published categories are visible in the list
UI improvement for RTE image select