add event binding to SpriteFactory