Fix fractional display scale factor
BACKPORT:krita/4.1 (cherry picked from commit 046ce7128a7e64a9d3769ca974e9b9abf727fe28)