Fixes a bug in createChannel if keyCount=1

In this case the setPoint got keyValues+pointOffset as an argument which pointed to a wrong memory-address