Ensure DetailAppWidgetRemoteViewsService is given a valid position

Prevent crash when invalid position is passed to DetailAppWdigetRemoteViews