Make 16-bit task properly inherit the current directory of their parent (based on a patch by Richard Cohen).