Added Background class and fixed a bug with no background