[Fix] Fixed bug due to which scroll()'ing  would break