Don’t know if this helps, but have a look at the 6th post in this topic by shao sean.
Code is similar to yours, but there are some slight differences.
Don’t know if this helps, but have a look at the 6th post in this topic by shao sean.
Code is similar to yours, but there are some slight differences.