Remove images on deactivation. Fixes #1