Fix bug in adding content regions