Fix division by zero in tabSizeHint on OS X