To reproduce:
1.) Start XnView 1.90 (Browser)
2.) Open a JPG image
3.) Press middle mouse button to open the image in fullscreen
4.) Press middle mouse button to close the image and return to view mode.
5.) Click on a window of another application.
-> The XnView main window will stay in foreground.
