Prevented whole body DOM being overwritten with view