`adjustDia` already calls `setDefault2DAttributes` (via `adjustDia2D`) so this is calling `setDefault2DAttributes` twice.