Fixes BitmapData sprite transparency

Affects #520