Fix folder click bug