Fixes enter, delete, and insert.