Much better reprojection implementation.