Fixed a bug in the visual tests where the first element was always in the top left corner.