Corrected B getter to access lowermost bits
Release bitmap context after copying pixel data