macosx: save frame position for fspanel (close #9958)
securetransport: add missing error checking