CocoonJS compatibility fix. Screencanvas cleared before painting.
Merge pull request #820 from txusinho/dev

CocoonJS compatibility fix. Screencanvas cleared before painting.