auto focus element under cursor