Fixed an issue that only occured during fast typing.