Fixed bitmaps being too large to fit into texture.