Properly clear canvas
Fix typo