Another bugfix in bitmap class