Removed autoScale feature and fixed the scaling of object and embed elements