Ensure drawing updates are asynchronous

Set a 0 second timeout to allow redrawing to happen off the main thread.