spritemap imagesrc moved to type