fixed issue with media button hide in custom objects