fix jump while falling

fixes #419
Merge pull request #662 from mucaho/fix_jump_falling

fix jump while falling
Fix problem with DOM sprite animation in webkit browsers

The backgroundPosition CSS attribute isn't always getting set correctly in Safari.  This seems to be some sort of hard to trigger webkit-only bug that occurs when we do sprite animation, but not when setting regular sprite positions.

I was unable to produce a simple test case without using Crafty, so I'm not sure what the exact problem is.  This "fixes" things by setting the background position separately from the rest of the background properties.
Merge pull request #664 from starwed/safari-dom-sprite

Fix problem with DOM sprite animation in webkit browsers
Merge remote-tracking branch 'craftyDevelop/develop' into develop