This addon minimizes the effects of an anomaly with left and right click camera view shifting with Windows 8.1. With Microsoft's fix applied, this addon should no longer be necessary.
(See http://us.battle.net/wow/en/forum/topic/10102720358 for a discussion of the problem)
(See http://support.microsoft.com/kb/2908279 for Microsoft's fix for this problem)
When enabled via a slash command, it does so by forcing camera view 5 whenever the camera view is changed by a left-click or right-click. When disabled via a slash command, it sets the camera view to 4.
To initialize, set the camera to where you want it and then type "/run SaveView(5)".
The slash commands are: "/camera lock" and "/camera unlock". "/cam" can be used instead of "/camera" and "/camera" or "/cam" alone will print the current state (locked or unlocked).