m_io->end wasn't called.

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