TextFieldTextRenderer: snapshot is not taken if width or height is negative, and visibility is updated too