ensure to leave preview mode when exiting lighttable

correct some ui problem when one enter darkroom by pressing d when watching images in full preview. When you go back to lighttable, your are still in full preview mode (even without the z key pressed) and panels are hiden.