Make images work in the viewer on Windows