Fixing the Box2D example to use the dirty rather than moved event