Fixes default value for origin rectangle. Moves scaling origin to AIR side.