fix error in Vanilla 0.46 when double click