Fix trivial bug in bitmap