fix error with chart highlights not working when page load and hash in url