fixes overlay style saving