Fixed player freezing