Fixed the hilight being able to go beyond last column in right derection (that is back to col. 1). Problem was that I was converting it both the coordinates to the other type. Should only perform conversion on one of the coordinates