A new angle on contour integration: The role of corners