Can you document the purpose of the timeout here? If it is here to make sure that the image has been loaded, we should try to find a way that guarantees that the image will be there. 200ms is often not going to be enough on slow connections.