fixed zoom bug
tooltip will not go off screen anymore