Input field border was not painting

Regression caused by using rich text in dock screens.