Fixed a typo. Now 3D objects are rendered synchronously after the first draw.