Update tooltip direction while changing its position
Update test