Robust Frame Synchronization Design in the Presence of Frequency Errors