Fix images not displaying.

Seems I was bit-shifting in the wrong direction. Doh.