Support resize

Two steps to resize:
1. Reset the corner
2. Reset the width and height