fix bug with css image inlining