media: fix vertical rhythm and alignment on media elements