Freezing buttons fix.