Cursor jumps from the line end to widget decorator

This has been reported in the Chrome bug tracker at https://bugs.chromium.org/p/chromium/issues/detail?id=977991 , but no one seems to be acting on it.