Giving nonaligned images some margin