Fix alignment for media boxes