Fix Bug 879434 - Thumbnail previews

https://bugzilla.mozilla.org/show_bug.cgi?id=879434