Previously, this conversion would often result in invalid quaternions or hit an assert in `normalized_to_quat_fast`. It's not super nice to convert to euler as an intermediate step performance wise, but it seems to be the easiest solution for now. Extracting rotations from matrices should not be done all that often anyway. Pull Request: https://projects.blender.org/blender/blender/pulls/120568