Temporal fix for player crashing