Shaky camera lock issue

How can I fix shaky camera lock issue? using spacebar for temporary camera lock results in camera shaking. However, using L (follow current selection) works just fine. I found a bunch of similar issues on blizzard forums, but no solution there. I use Space quite a lot in game and this bug is not pleasant for the gameplay.