ensures the cssclass is set for selecting media items (oops, had removed that before)