Fix bug causing content to keep its default value when content is inserted without first clearing the inner html.