Added custom shader support.
Reset shader in endFill.