Fixes resize (mrege)