Fixed crash on start on Nvidia drivers