Fix image viewer cycling when some previews are hidden
Fix image viewer cycling when some previews are hidden

MaxLeiter/lounge,libertysoft3/lounge-autoconnect,FryDay/lounge,ScoutLink/lounge,FryDay/lounge,thelounge/lounge,williamboman/lounge,realies/lounge,williamboman/lounge,MaxLeiter/lounge,thelounge/lounge,libertysoft3/lounge-autoconnect,MaxLeiter/lounge,metsjeesus/lounge,williamboman/lounge,libertysoft3/lounge-autoconnect,realies/lounge,ScoutLink/lounge,ScoutLink/lounge,metsjeesus/lounge,FryDay/lounge,realies/lounge,metsjeesus/lounge