Fix TextBox properties initialization on MSVC