Fix #377: Underlines are a little off when created by background syntax check and after compilation