Turn off offset*/scroll* optimization for input elements with shadow content