Checking last keydown snapshot as well, to prevent unwanted changes.