Limit Mouse Cursor Position to certain area on viewport

You have to limit rotation and pitch in BP. Take a look at Aim Offset tutorials.