Merge "Unified display screenshot into one displayCapture function"