fix typo of shouldDrawHit
better caching if node not in layer