Fixed multiple problems to be able to use Web Contents with templates applied. It's needed the LPS-18364 bugfix to use this feature.