Re-add feature for rendering scaled meshes
- Original of this commit is ca605c8
- This feature was initially introduced in 0916203, but got lost when merging in the refactoring for version 3.0 in 8cec163.