fix bug with no sprite task if foder with sprites is empty