Fixed escape key not leaving item wish menu.

Fixes issue #2216