Merging Greenshot image editor changes from https://bitbucket.org/greenshot/greenshot/commits/af946cf6b448ee46bbf6672bd96c71935811fda6