Rendering works: I updating display too early