Fix bug where right clicking on the output file did nothing.