Mor fixes for automatic ad resizing