Windows - workaround for crash opening img from context menu (#131)