Fixes Niouby/Lakka#63 due to a memory leak in tween.c and wrong dt