That would be absolutely correct. If the incident occured before the ball was kicked and moved, it would be misconduct, restart with the corner kick and probably a caution for USB to the offender.

If the incident occured after the ball was kicked and moved, it would be a foul, restart with the PK (since the foul occured in the box) and you still could have a caution to the offender.