fix alignment atts on image component