fix issue with invisible buttons