fix: Media->replace() -> only set image_height and image_width if available in file metadata