Fix work with resizer