fixed the issue that scanned color for a car was completeley black due to a unsynchronous inputframe