Removed unneccesary functions(scaleW & scaleH, using scale().x & scale().y instead)