fix resizer (border problem)