Fix target line highlihght and zoom toggle will not reset when close plugin window