fix: remove the temp img right after setting video height