Fix drawLine on Samsung tablets.