Fix detecting transparency in SVGs

Fixes https://github.com/LLK/scratch-flash/issues/24.