enable rendering to buffer