fixed bug for scaling and scrolling in didisigner