Some small fixes to media badges to handle resizing a bit better.