Adding back in WebKit workaround for CanvasLayer