Stop recycled bitmap crashes
Fixes #792
Merge pull request #1297 from McLoo/master

Stop recycled bitmap crashes