bug fix for DOM node bounds, and proper temporary container handling.