FIxing thread confinement in browserInput