Three beachgoers rescued from rip current