fix withNoBG to handle resizes