Fix motion event behavior(fired only if the mouse pointer has moved to a different character
cell)