Fix #1: add delay to wait for image to finish loading;