renamed theta to precomposeRift