Adjust cursor position to keep code hint list open for url hinting.

This fixes issue #2555.