fix tour started check on page visibility event