Corrected rc_x and rc_y values