Fixed issues with center stacking