Removes UnitPreposition to avoid warnings in Win 8.1 apps

Alternative solution for #360 to fix warnings in #317