Fixed a bug of flashing bitmap.