When using preview, make possible to rate the selected image. Fixes #9292

 Set the mouse_over_id property to the image being shown in preview,
 so any rating or colorlabel is applied on that image.