Optimize initial rendering methods and related code. Fixes #566
Fix disable method for unrendered tooltips. Fixes #565
Improved tip drawing and adjustment code. Fixes border issues with large tips.
Fix SVG variable declaration issue.
Remove redundant method
Fix some mouse positioning issues