Changed hitTestLayer return type