I think that I found a copy/paste error with the “Capabilities.screenResolutionY”. It gives me 1920 instead of 1080, so I checked the “get_screenResolutionY” function in “Capabilities.hx” and found:
resolutionY = display.currentMode.width;
By changing the “width” to “height”, everything works perfectly!
Maybe it’s just me for a reason that I ignore, but maybe not.