Fixes the inline image properly