bug fix: ViewPort.createDom