Fixed issue where container was resized before user's size was set.