fixed setOrigin and setSize to work even when something like sizeToFit was called between them