added check to skip layer hittest if the layer is disabled