buggy bitmap merge