Fixes toolbar positioning when text was small and at the beginning of the line