fixed text movement during cursor hover

Change-Id: I14ae4a858cfdecb96a18a76f7363570528c1d380
Reviewed-on: http://review.couchbase.org/24727
Reviewed-by: Ronnie Sun <ronnie@couchbase.com>
Tested-by: Ronnie Sun <ronnie@couchbase.com>