Pixel art rendering badly [SOLVED]

EDIT: Turns out the window was stretched. Sorry for the bother!

I’m using Cocos Creator to make a game using pixel art. I have the following image:

But then in-game, it looks like this:

I have antialiasing turned off. I know in Javascript with Cocos2d-x, you can use this:
cc.FIX_ARTIFACTS_BY_STRETCHING_TEXEL = 1;

But that doesn’t seem to do anything in Creator. Any help with this would be appreciated.

Thank you!
Tim

and how did you solved?