Fixed bug adding non-uint8 frame images.