fixing up mapping/reference mode for layer elements
removing old preprocessor macros for axis conversion
prevent crash when no uvs are present on the model