Fix torrent window bug