fixed fullscreenimg issue caused by a git repo inside a git repo