Its' not uncommon for the seatpost to turn in the frame. To secure it, open the quick release lever, tighten the knurled nut on the side opposite the lever, and re-close the lever. Repeat until it stays in place.
The gap in the clamp does need to be aligned with the gap in the frame: