Fix rendering bugs across responsive layouts