SMFFragProg: fix '#version must occur before any other statement'
BaseGroundDrawer: move drawMode checks outside UpdateExtraTex (cleaner)