canvas - mootools - composite pattern