[Connection] Fixed issue with lines on Android 4.1.2