refactors scale9 so children are scaled
bug fixes