Another RGB-related createLayer fix.

Your script should be working now Bob...

[1720]