Issue #1916 Fix max-width insert image