forked from: BitmapData quirk

wtf