Remove player's attached objects when scoping

The TemporarlyRemoveAttachedObjects and RestoreTemporarlyRemovedObjects functions are untested!