Is this Divine Divinity you are referring to? It sounds like it; there are separate forums for Divine Divinity and Beyond Divinity.
If so, you have your Caps Lock key enabled. Holding the shift key down, or enabling Caps Lock, lets you move the screen focus away from your character, but may cause the screen not to switch focus when you enter hatches, caves, etc.
Welcome to the forum.