It's not a bug exactly, it rounds the item to the nearest sample offset based on the project samplerate, which does not coincide exactly with a grid line. It is within 1 sample of the grid, though. If you use the project setting to set all beats to occur on sample boundaries, it will adjust the tempos very slightly to make sure that grid lines all occur on samples.
|