Fix object2d rotation/translation.