Fix dropdown positioning when close to the right edge of the screen
Fix dropdown positioning for split buttons
Merge pull request #1938 from magnolia-fan/fix_dropdown_positioning

Fix dropdown positioning when close to the right edge of the screen