Added onPostRender event.