Fixed bug introduced when variable geometry copying was introduced.