Merge "Reposition the stack to a similar position upon rotation." into qt-dev