Fixed so that you can add sprites directly on definition of objects