This bug also occurs in the Tcl/Tk 8.6 that is distributed with Ubuntu 16.04 LTS.