Fixed|Resources|Renderer: Out-of-bounds access related to submodel flags

Found one more case of out-of-bounds access of an empty submodel array.
Now this is handled more robustly using an accessor method rather than
directly indexing the submodel array.

Todo for later: Most fields of the (sub)model need to be private...