fix aspect ratio of media