fix bug for rendering editors