Fix infinite loop in BitmapData.floodFill

floodFill could infinite loop if you flood fill on a pixel that was already the same color as the fill color. Also, floodFill would not work properly on non-transparent BitmapData.