Fix tooltip position when it's on the bottom - #635