When creating a layer group, or a text layer, use the image's default new-layer mode, instead of always using (non-legacy) NORMAL. (cherry picked from commit 7c7b6eb5)