Fix bug introduced in prev commit
Merge pull request #3756 from ussuri/dynamic-ace-container-element

Fix bug introduced in prev commit