Though sex can be considered the whole period of time between the beginning of foreplay and the end of cuddling, sex proper is the time between the entry of the penis and its removal.
The importantthing to remember about sex proper is that its time of entry that matters, not place of entry.