Bitmap render fix, implement flood fill