implemented missing hitTestObject