Greatly improved 2d sprite support for paths.