Proper adjusting of trailing slash in overlay options.