now it is possible to set the alingment of the media object