Update to canvas layer drawing code to speed it up slightly and use less memory.