fix tooltip position for small screens, when collision