Converted RGB values to integers. This fixes backgrounds always being black.