correct "blinking" of background by fixing it thanks to milka