(x_real_positions): Uncatch and recatch X errors in the loop.