improved handling of screenWidths and multiple elements per shot