fix in bounds computation which could return NaN
implemented advanced hit test for object tag hit test bug
added config param for hit testing