Added null check to mouse interaction manager.