Hey dude I just solved this problem for myself. Here is a cutout from one of my programs. see what you can make of it.

the code concerning your problem is in the...