Fixes issue with navigation overlay being smaller than the actual navigation on tablet and mobile