More accurate bounds for the menu texts

Now we no longer set the bounds manually, but they are derived from the
text itself! yaay