Fix initialization of aspect ratio and meta.media.width/height