Bugfix for negative elevation values in the profile viewer.