Left click on flag bug solved

Weird x/y inversion corrected