Get word at mouse function doesn't work as I want - C#