decompile window_map_scrollpaint()

Not sure if preserving the top g1_element is of any importance;
I haven't noticed anything breaking when I removed it.
Fix window_map_mouseup() (it was callling window_options_mouseup() instead)