Fixed null sprites exception