Added a quick fix to back stacking feature.