Fix rounding of views

Task #2052

Question: how should I handle the matching ticket in Redmine, mark that as resolved? Now or when and if this pull request is accepted?

Thanks,
/Micke