fix calculation of bitmap data source address.