fix cursor disappearing off screen on chart