Have you tried selecting both rectangles and then choosing 'Align selected rectangles'. That seems to work for me.