Fix a few bugs in simulation (positioning and data rate)