Bug fix about item window