Implement support for the new minimap decoration API
:bug: Fix legacy code remaining in deactivate