Fixed bug where pterosaur realized insert mode was entered 1 key too late.