fix bug where keys sometimes don't realise the words page isn't toggled

fixes #191