fix bugs with collada reading external refs and retiming edge case