bug fix for drawing if doubleValue == 0

Signed-off-by: Andreas Zöllner <andi@go-for-fun.de>