Fix cx and cy to be generated after params update