Fixed some issues with the thang editor.
Fixed choosing the first frame for segmented sprites.