Without the z-index hack, part of the prefix button border (in focus) will be covered by the input field, which look like this: