fix lua drawing bug, from waterwingz in http://chdk.setepontos.com/index.php?topic=10875.msg106788#msg106788 - trunk 3198