Fix altimetric graph delaying map display in detail pages