Added null check to Sprite Selector