fixed wonky floating point math creating race conditions in loading sequence