frame generator doesn't mix up different tracks now!
update test
fix spatial positioning code