Recentered x and y. Made width and height the right way round. Scaled width and height