Fix character loading bugs.