Improve calculation of suggestion list's position