new outline fix algorithm, fix inconsistent cursor on dots