Template rule for transparent mode are not properly adapted, but they are user-configurable so that's not a problem. (cherry picked from commit af9fc279)