Add support for canvas layers