Fix index error in Buffer component's blendmodes.