Minimap: Properly resize when master graph updates

This fixes two bugs: The minimap graphs would not update when the master
graph resizes, and the handle frame calculation does not take changing
graph sizes into account as the original width is kept in the event
callback closure.