Fix rendering props in incorrect order.