experimental! add overlay when body is added to DOM to reduce flashing