Fixed bug in export of physic frames