Fixing the scaling issue in Canvas within the same cycle.