HaxePunk/HaxePunk — pull request #87 by julsam (2013-04-21 15:58:42+00:00)
Title: Fix debug renderEntities when entity's scroll is != 1

Fix the hitbox's rectangle in debug mode when the default value of an entity's scroll has been changed. Without it, the debug rectangle has a wrong offset.

Here's an entity example if you want to quickly see it yourself :
```
package ;

import com.haxepunk.Entity;
import com.haxepunk.graphics.Image;
import nme.display.BitmapData;

class EntityExample extends Entity
{
public function new(x:Float=0, y:Float=0)
{
super(x, y);
graphic = new Image(new BitmapData(32, 32));
setHitbox(32, 32);
graphic.scrollX = 0;
graphic.scrollY = 0;
}
}
```