Fix resizer for elements that are not positioned