Call PumpEvents before PeepEvents