Everything works, except scaling and translation, which are off