Performance issue when rendering multiple objects