fix animate rect size