Optimized player renderer.
Fixed potential crash.