Fixes problem with command-t on OSX