Fix getCorrectTime function
Fix canvas tooitip