Fix width when zoom out or text is short

Signed-off-by: Gergely Tóth <tgely@gumisarok.hu>