Ligature caret anchor position calculations don't take italic angle into account

I’m pretty sure this used to work correctly. In 3418, the caret positions are not calculated with the italic angle taken into account.

Roman:

Italic: