Don't replace autocomplete results if it looks like the insertion point is outside the imageNamed: method.
Fixes #5.