Also release the bitmaps that are stored for reuse when trimming memory

All in the title