craftyjs/Crafty — pull request #483 by sbyrnes321 (2013-06-06 17:40:29+00:00)
Title: fix bug where particles can appear in wrong place

In firefox and chrome (at least), the canvases can wind up not aligned on the page. This fixes it in my tests. [Thanks Gizmoa.]

Example:
With old crafty: http://jsfiddle.net/4r6FX/11/
With fixed crafty: http://jsfiddle.net/4r6FX/17/