Fix issue rendering media without flags