updated slightly the CSS and image render bug