tooltip auto placement partial fix