Fixed textbox crash on hit