Fix memory leak in RMShape by having it hold a weak reference to the map view.