remove unused code
Merge pull request #275 from wise9/hotfix/canvas-layer

remove unused code