[4.0] Fix UpdateRender if statement.