Working fix for physics frame export