They cling to the water surface alone. They cling, they don't "stand" on it. Their whole shell and body is inside the water, and the shell hangs from the body, which is firmly attached to the surface. If I disturb the surface they fall to the bottom.
This is a very common behaviour of pond snails. Just search "snail water surface" on google to see many pictures of it.
The beetle seems to do the opposite thing, though. It is buoyant so it floats to the surface, on which it stands and walks with its legs as it would do on the ground. The air\surface interface is very strong for small critters.