preserveAspectRatio attribute is followed correctly in more cases.