fixed rightclick opening two tabs bug