fixed instance rendering problems