Make navigation keys work on document load - avoid breaking embedded viewer, take 3