Make sure images are properly aligned in Mobile VisualEditor

Change-Id: Ic6b11fa9a49e0ea6c17f3e1b9b9c0d39226098bd
Dependency: I4f986f23b0c8ba6f6b66efc07eb38806744123e2
Bug: 66282
Merge "Make sure images are properly aligned in Mobile VisualEditor"