Add offset for cocos2d format