Try to fix a crash by removing selection handler from textfield.