Fixed Memleak in TextInputComponent