[ThumbnailView] Fix mouse buttons handling
Differential Revision: https://phabricator.kde.org/D15612
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>