openfl/lime — pull request #281 by starburst997 (2014-12-04 21:23:03+00:00)
Title: Fix HTML5 CopyPixels

Using copyPixels were resulting in

Uncaught TypeError: Cannot read property 'clearRect' of null ImageCanvasUtil.hx:102

Adding this line fix the problem