fix background to take into account alpha as well