Fix issue #52 (transients mapping on the wrong layer).