Fixed scrolling on bottom line, caused by virtual function mismatch