Fixed bug with input coordinates not scaling.