Fixes some problem when resizing content