[BUG] v8.1.5 Perspective - Dropdown options appear off page if options won't fit below component

If the dropdown component is placed far enough towards the bottom of the page so that the list of items will not fit below the dropdown component, then the list of options is shifted to the right of the component instead. However if the component is also on the far right of the View, then the menu appears off the page, sometimes it isn’t even visible at all.

The menu should move above the component in this case.
This is particularly noticeable when you increase the max-height of the options list so that more than 4 items can be shown at once (this default is far too low!)