fix a bug for node hittest