Fix incorrect ReferenceFrame scaling based on window resizing

Remove the setEnd field, pass it to computeLocationScale each time. Setting this as a state variable was pointless, and also it wasn't being set when the window was resized, so we were using an old location scale and just showing a subset.