How to solve this Openfl canvas issue at browser zoom 25%

There is also the same kind of issue with Starling see OpenFL/Starling touches and system zoom