If running screenshot interactively from the terminal, terminal will be the active application when the screenshot is taken rather than the application for the window being captured. An option to activate/raise the window of the application being captured would be useful.