Added check to prevent repeated tipElement events.

For issue #80.