Fixed buttons working even though not active.