there are two shortcut folders on my finder sidebar that I am unable click on. The pointer just passes over them. Consequently it is also impossible to remove them from the sidebar.
Not sure what you mean when you say "the cursor passes over them" but have you tried right clicking or control clicking the shortcuts in question and removing them that way?