Fix directory drop. Fixes #254