Treatment of the corner region for Drucker-Prager type plasticity