makes setUVPSurface public for tests