Fixed issue where inserting text would cause crash