Fixed an issue where meshes without loose elements or hidden triangle faces were not taking into account the relevant masks. From the user's perspective, this might not have seemed like a significant problem. However, hidden faces in edit mode were occasionally still snappable.