layer create context after appended to dom (fix excanvas problem