Fix overviewmap control

Attempt to fix the reasons why build fails
(not yet completed)