added support for color sprites