It does check the width but the browser/code behaviors between LTR and RTL do differ (this wraps in LTR). However, this is why we usually "flip" tooltips that will be displayed near the right edge of the screen (in LTR). I've done that here but if you have any other places of note, report them in separate bugs please