Sprite Initialisation causing crashes