issue #28: with current distance to point (bugfix with onresume)