partial hit testing