Fix hyphenated /img/trans- handling.