fixing error when changing texture-combobox