Implemented custom sprite definition for composite sprites. Lighting may be broken.