Fixed completions list appearing too high or low when shown above the current line.