answered Jul 7 '13
It was a bug in the OpenCV, that according to the issue tracker should be fixed in 2.4.6. The check if keypoints are in the mask area has wrongly be done with Scale-Space Coordinates of the keypoints.