Added dynamic bounds for bitmaps.