Fixed a couple of detatched DOM objects