Remove legacy ad-hoc rendering code