Only sync window frames when the frame exists.
Merge pull request #51 from tmurph/FIX-50-window-placement

Only sync window frames when the frame exists.