added layer hitGraphEnabled flag