small fix to make links align properly by waiting until images load before getting element coords