Fix for check spelling on pasted text