Only display the image preview window if completionListWindow is visible. This prevents the image preview sometimes appearing when hitting escape.
Fixes #19.