Resize while content is loaded, basic behaviour fixes