Another attempt to fix buttons disappearing