Finally figured out the delay thing and works well even at 50 fps. Made some related changes in the README.md