[Windows] Fix issue with opening input item.