Describe the bug:
When you try to remove the entire Leaflet map using map.remove(), leaflet-distortableimage will throw an error if there is any distortable image on the map:

We have an SPA that leaves us unable to correctly unmount the map when the user navigates away from the page, so this is rather unfortunate :(
Reproduce the behavior:
See this minimal JSFiddle: https://jsfiddle.net/bwcvaeyk/1/
Open your browser's console and wait for a second for the map to unmount (JSFiddle's console swallows the message). You should see the same error as above.
Browser, version, and operating system:
- Browser doesn't matter
- Version 0.21.9