Fix img with display: block. Fixes text/image overflow on wikipedia.

Ref: #2554
Wrong scope name?