Fixing player render logic problem.