fixed crash when a model of a renderable is changed