Missed adding CustomSprite during the last commit. Shifted loading of data. Also fixed a really silly bug.