Merge "Use visible frame instead of task bounds for detecting resize start"