Fixes crash issue when a system is loaded for the first time