fixed the shape renderer issue