fixed problems with transparent PNGs, closes #101

thx to @jdlx