Fix <Del> and global text replacing