Merge pull request #1617 from tschneidereit/master

Fix bug in handling of 5 arguments in Path2D polyfill's _writeData method
Process Loader queue before frame events in player's main event loop

Testing shows that that's how it is in the player.
Add reftest for Loader.load