Fixed initLocation() force close by passing fragment root view to method.