Fix for cartoon-render-then-transparent-surface bug