Fixed bug of checkbox in the robotWindow on Windows.

Fixed bug of checkbox in the robotWindow on Windows.

-> Sometimes the checkbox was not checked when clicking on it on Windows.