Small bug in draw_bitmap.

- In draw_bitmap, m_io->end was never called.