Last resize fix