added rotation, origin and scale to spritebatch