Added postRender function to fix arrowheads.