improve constructor of DisplayObjectContainer by making const out of debugger check