Work around a bug in Sublime Text 3

See SublimeText/Issues#39. This fixes it.