That could be a habit from using the freestanding bag.
You can't follow through on the freestanding bag as it's not very forgiving and doesn't react naturally, so it hurts to follow through.

Then on the swinging bag, you don't follow through and it hurts. Practice i guess.
Take care.