Prevent footer collapse, fix UI errors