Fixes #1417 On wayland the features are limited by the portal. Preview and dragging a rectangle for avarage color does not work.