widget: Fix a drawing artifact with blinking cursor

https://bugzilla.gnome.org/show_bug.cgi?id=731427