Fixed hidden cursor positioning corner case.