Revert "Fixed a bug with render scaling"

This reverts commit 2541427780285955d2d93736689a51a64ef206b0.