[improved] apppositioning: replaced position with refpointoffset on first appspawn to make sure refpointoffset has a valid value