Fix colorbox handling in media widget