fixes #5470 vm state doesn't load on show page after redirect from new host