Attempted to make the system avoid getting stuck in blocks