add workaround for broken layout after re-attaching #87