Fix typo in resetMinimapTransform
Fixes broken minimap width computation
Fixes wrong unsubscribe when opening an non editor tab

I just forgot one of jQuery basics… detach doesn’t kill the object,
remove yes, leading to a call of unsubscribe when it should have
detached the minimap from the DOM.