Fixed problems with Tk2D toolkit and Inputs