Fix password entry jumping to different networks with wifi scanning, by pausing the scan when appropriate