Fixes bug with svg export, and new clear map button