bitmap: fix out-of-bounds and bizarre artifacts
bitmap: fix out-of-bounds and bizarre artifacts

war2/war2edit,jeanguyomarch/war2edit,war2/war2edit,war2/war2edit,jeanguyomarch/war2edit,jeanguyomarch/war2edit