Bug #1148: Workaround for broken images in some MW versions