Fix alpha blending of colors in multiple image layers
Optimize the draw function, using a bit of loop unrolling