avoid wrong content sizes when the system try to applay layout rules to the view