Fix how <source media> is parsed. Fixes #242