Fix focus issues while switching between images with active selections
Copy to clipboard now respects non-rectangular selections