added missing state switch code for mapColor and mapStencil
added missing state switch code for mapColor and mapStencil

rpavlik/chromium,rpavlik/chromium,rpavlik/chromium,rpavlik/chromium,rpavlik/chromium