Apply fix to the DrawInstanced shader code