Fix working dir of shortcuts. Bug #1415.