Photoshop JS script resizes the canvas to make it square.