Added anti-aliasing capability to render method