Simple fix to get gif images working, although positioning is still broken.
Support for the opacity property on images.
Fixed support for transparent images (was using wrong data for smask).