Editing filenames bug

This issue seems to be related to this one: Losing keyboard/mouse control of windows