Do not add null class to viewport. Update className only if default class name is not set