Fix shader reload after resuming the game