Stop recycled bitmap crashes
Fixes #792