Fixed object rotation when object was not at the center position.;