m6a2e3: fix js and canvas position