Fix randfrag passing to fragcp.