Correctly handle number parsing for aria attribute/state values; Fix bug in overlapping element check