Fix CMA-ES for boundary handling