Merge "Use task bounds when drawing app theme snapshot" into qt-dev