Yes, this has happened to me before. When the animation is done the gun still hasn't done reloading, press Q and look on the top left before you switch your gun to keys which is the main reason why your gun is empty with a mag, you switch it too fast after reloading.