kludged a fix for invisible boxes