Fixed bug where properties couldn't be set on model till model was shown