Draw bugfix

The first commit allow the user to draw a line out of the screen boundaries.
The second one is related to the issue #68 and fix the color problem when using a 24bits hexa color (like 0xFF0000).