Merge pull request #5648 from RosettaCommons/roccomoretti/interactive_fix_restype_loading
[Foldit] Hotfix for crashes in drug design puzzles.
The merge with master introduced a bug where the restype being loaded from the binary is being shadowed by a local variable, rather than being properly loaded into the parameter. This should fix that, as well as giving a more sensible error (rather than a segfault) if something like this happens again.
Also fix an off-by-one error in the Binding Site view.
Release Notes: Fix crashes on re-loading small molecule design puzzles.