Fix nullpointer on render missing file and git thinking files modified on copy from grid