fix to centering if image has explicit width