Fix keyPosition in live-test-ws