Arguments to createbitmap that are less or equal to zero cause crashes!