Fixed issue when animation deactivated

See issue #61.
- Fixed issue with animation deactivated and always display dots.
- Fixed issue with animation deactivated and reference lines.