Re-add feature for rendering scaled meshes

This feature was initially introduced in 09162037a542c3f360c7e526a540040c3c85d46a, but got lost when merging in the refactoring for version 3.0 in 8cec16336adac9e22501b8a8c843fc69fae4f955.