Fixed issue with area stacking. Closes #1651.