Fixed bug where multiple image requests were sent for the same image when using the draw tool in draw.php if the image hadn't loaded yet