Fixes centering in media object.