issue #3419 set renderMode