FIX: center of rotation different from the center pixel