Should fix bug where buttons wouldnt load properly.