I'm trying to make a window capture, but what I need appears as "null" I searched for other methods but none worked.