avoid erroneous hittest results for clipped shapes