Fix problem where right-clicking everything gives a result