fix a few loading/rotation related bugs