Corrected corner resize