begin of director scale mode on screen change.