Fix element input for negative scales. (#3587)
Fix element input for negative scales. (#3587)

* Fix element input for negative scales.

* Remove unused import.

* Use const instead of var.
playcanvas/engine,MicroWorldwide/PlayCanvas,playcanvas/engine,MicroWorldwide/PlayCanvas