fixing right-side-of-graph tooltip interference issue