Merge "Use stack bounds to apply STACK_CLIP_BEFORE_ANIM" into qt-dev