Adjust height of subtitles overlay to avoid overlap