Fixed a bug in the GPXLayout.