Fix menu handling elevation profile layer

Fixes #34