Fixed http://openeye.openmods.info/crashes/2ee5ee8a71063086c60b169c7012cf9b