Fixed bug in setCoverMaxSizeFromScreen
Merge pull request #197 from jpeitz/fix_set_cover_max_size

Fixed bug in setCoverMaxSizeFromScreen