Replace nm2px with model2px after change of view public API