Fix to capture entire window not view