Clean up sprite rendering methods, and add support for palette offsets.