inputAutoExpand: Catch miscalculation

(bug 53533)
Catch miscalculation of the ruler width happening in IE < 9.

Change-Id: I6e25d112a2fc4d67bcfa23e6c7df2c93b6238b5f