Refactor media resizing constants