Fix EZP-22124: inline image alignment is not respected

See https://github.com/ezsystems/ezpublish-legacy/pull/883