Clean up window resizing commands.