remove rect size is located in the middle of marks