Fixes a bug with unlit rendering technique